import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    score:0
  },
  mutations: {
    scoreAdd(state){
		  state.score++
	  }
  },
  actions: {
    increAdd(context) {
      context.commit("scoreAdd");
    },
  },
  modules: {
  }
})
